//
//  NotationCell.swift
//  MeiMeiNew
//
//  Created by MAC on 2019/5/29.
//  Copyright © 2019 admin. All rights reserved.
//

import UIKit

class NotationCell: UITableViewCell {
    fileprivate  let siagnalLabel = UILabel()
        override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
            super.init(style: style, reuseIdentifier: reuseIdentifier)
            
            initUI()
    }
        required init?(coder aDecoder: NSCoder) {
            fatalError("init(coder:) has not been implemented")
        }
        
        fileprivate func initUI() {
//            let tongzhi = UILabel()
//            tongzhi.text = "重要提示"
//            tongzhi.textColor = ColorAsset.c333333.value
//            tongzhi.font = UIFont.systemFont(ofSize: 18)
//            self.contentView.addSubview(tongzhi)
//            tongzhi.snp.makeConstraints { (make) in
//                make.top.equalTo(16)
//                make.left.equalTo(10)
//                make.height.equalTo(25)
//            }
//            siagnalLabel.textColor = ColorAsset.c333333.value
//            siagnalLabel.font = UIFont.systemFont(ofSize: 14)
//            siagnalLabel.numberOfLines = 0
//
//            self.contentView.addSubview(siagnalLabel)
//            siagnalLabel.snp.makeConstraints { (make) in
//                make.top.equalTo(tongzhi.snp.bottom).offset(5)
//                make.left.equalTo(16)
//                make.right.equalTo(-16)
//                make.bottom.equalTo(-16)
//            }
//            let lineLabel = UILabel()
//            lineLabel.backgroundColor = ColorAsset.ceeeeee.value
//            self.contentView.addSubview(lineLabel)
//            lineLabel.snp.makeConstraints { (make) in
//                make.height.equalTo(1)
//                make.left.right.bottom.equalTo(0)
//            }
        }
    func setsiagnalLabel(_ name:String) {

        siagnalLabel.text = name
    }
}
